package edu.nf.project.services.storeOperation;

import edu.nf.project.entitys.entity.storeOperation.convention.operate.RefundImage;
import edu.nf.project.mappers.storeOperation.convention.RefundImageMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * @author CSY
 * @date 2025 - 06 - 20
 */
public interface RefundImageService {
    /**
     * 添加退款凭证图片
     * @param refundImage
     */
    void insertRefundImage(MultipartFile file, RefundImage refundImage);

    /**
     * 根据退款编号查找图片并根据顺序排序
     * @param rrId
     * @return
     */
    List<RefundImage> ListRefundImage(int rrId);
}
